home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / comm / tcp / samba_2.0.7.lha / source / README < prev    next >
Text File  |  2000-08-17  |  2KB  |  58 lines

  1. Building Amiga Samba 2.0.7
  2. ==========================
  3.  
  4. To build the Amiga Samba 2.0.7 port you need a few things in addition to
  5. the source code supplied in the source code archive. Namely, you need:
  6.  
  7.    * The Miami SDK (available from "http://www.nordicglobal.com")
  8.    * Larry Wall's "patch" utility (available from Aminet, e.g.
  9.      "http://ftp.uni-paderborn.de/aminet" or via the Geek Gadgets
  10.      archive on "ftp://ftp.ninemoons.com")
  11.    * The Samba 2.0.7 source code archive (available through one of the
  12.      mirror sites listed on "http://www.samba.org"); to unpack the
  13.      source code archive, you need the "gzip" and "tar" utilities
  14.      (which are available from Aminet or the Geek Gadgets archive)
  15.    * The SAS/C 6.58 `C' compiler
  16.  
  17. You should start by unpacking and extracting the Samba 2.0.7 source code
  18. archive. This can be done by entering something like:
  19.  
  20.    tar xzf samba-latest.tar.gz
  21.  
  22. but you could also first unpack it with:
  23.  
  24.    gzip -d samba-latest.tar.gz
  25.  
  26. and then extract the archive contents with
  27.  
  28.    tar xf samba-latest.tar
  29.  
  30. This should create a directory named "samba-2.0.7".
  31.  
  32. Now go ahead and unpack the Amiga Samba 2.0.7 port source code archive. For
  33. the sake of simplicity, let's unpack it to "RAM:". You could of course
  34. choose a different location.
  35.  
  36. Next, we need to unpack the Miami SDK archive. For the sake of simplicity,
  37. we unpack it to "RAM:". This should create a drawer by the name of
  38. "MiamiSDK".
  39.  
  40. Change to the directory "samba-2.0.7/source", which contains the original
  41. Samba source code we now need to apply a few patches to. This is done by
  42. entering something like:
  43.  
  44.    patch <RAM:amiga_samba_2.0.7/source/amiga.diffs
  45.  
  46. Next, we copy the contents of the Amiga Samba 2.0.7 port source code archive
  47. to where they belong. This is done by entering
  48.  
  49.    copy RAM:amiga_samba_2.0.7/source "" all
  50.  
  51. And eventually, you need to copy the header files that ship with the Miami
  52. SDK to where they belong. This is done by entering
  53.  
  54.    copy RAM:MiamiSDK/netinclude amiga/netinclude all
  55.  
  56. That was pretty much it! Now you should be able to build the Amiga Samba 2.0.7
  57. port by entering "smake". Be patient, it takes a while.
  58.